Einhugur GraphicsFormats Plugin for Objo

Einhugur.GraphicsFormats.RawIcoExporter.SaveToFile Method

Saves a single bitmap to a ICO file.

SaveToFile(
   image as Einhugur.RawBitmap,
   filePath as String)

Parameters

image
The bitmap to save to the ICO file.
filePath
The path to the ICO file to save the bitmap to.

Remarks

Note this method will clear images that have been added with AddBitmap.

This method is basically macro for:
Clear added bitmaps
AddBitmap (one bitmap)
SaveBitmapsToFile

This method can throw Exception.

See Also

Einhugur.GraphicsFormats.RawIcoExporter Class